finding the percenetange hackerrank solution